package com.example.administrator.yuejian2.bean;



import com.chad.library.adapter.base.entity.MultiItemEntity;


/**
 * 多条目布局，数据足够多
 * 数据只能有一种，不可以多种数据
 *
 *
 */

public class MultipleItem implements MultiItemEntity{

    public static final int FIRST_TYPE = 1;
    public static final int SECOND_TYPE = 2;
    public static final int NORMAL_TYPE = 3;
    private int itemType;
    private ClubBean clubdata;
    private ActivityBean activityBean;
    private SharePictureBean sharePictureBean;

    public MultipleItem(int itemType)
    {
        this.itemType = itemType;
    }
    public MultipleItem(int itemType,ClubBean clubdata) {
        this.itemType = itemType;
        this.clubdata=clubdata;
    }

    public MultipleItem(int itemType,ActivityBean activityBean) {
        this.itemType = itemType;
        this.activityBean=activityBean;
    }

    public MultipleItem(int itemType, SharePictureBean sharePictureBean) {
        this.itemType = itemType;
        this.sharePictureBean=sharePictureBean;
    }


    @Override
    public int getItemType() {
        return itemType;
    }

    public ClubBean getData(){
        return clubdata;
    }

    public ActivityBean getActivityBean() {
        return activityBean;
    }

    public SharePictureBean getSharePictureBean() {
        return sharePictureBean;
    }
}
